using System;
using System.CodeDom.Compiler;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Xml.Serialization;


namespace YF.OneNote.DataTypes
{
  /// <remarks/>
  [GeneratedCode("xsd", "2.0.50727.1432")]
  [Serializable]
  
  [DesignerCategory("code")]
  [XmlType(Namespace = "http://schemas.microsoft.com/office/onenote/2007/onenote")]
  public partial class TagDef: NotesNode
  {
    #region Fields



    private string fontColorField;

    private string highlightColorField;
    private string indexField;

    private string nameField;

    private string symbolField;
    private string typeField;



    #endregion

    #region Properties/Indexers



    /// <remarks/>
    [XmlAttribute]
    [DefaultValue("automatic")]
    public string fontColor
    {
      get
      {
        return fontColorField;
      }
      set
      {
        fontColorField = value;
      }
    }

    /// <remarks/>
    [XmlAttribute]
    [DefaultValue("none")]
    public string highlightColor
    {
      get
      {
        return highlightColorField;
      }
      set
      {
        highlightColorField = value;
      }
    }

    [XmlAttribute]
    public override string ID
    {
      get
      {
        return nameField;
      }
      set
      {
        nameField = value;
      }
    }

    /// <remarks/>
    [XmlAttribute(DataType = "nonNegativeInteger")]
    public string index
    {
      get
      {
        return indexField;
      }
      set
      {
        indexField = value;
      }
    }

    /// <remarks/>
    [XmlAttribute]
    public string name
    {
      get
      {
        return nameField;
      }
      set
      {
        nameField = value;
      }
    }

    /// <remarks/>
    [XmlAttribute(DataType = "nonNegativeInteger")]
    public string symbol
    {
      get
      {
        return symbolField;
      }
      set
      {
        symbolField = value;
      }
    }

    /// <remarks/>
    [XmlAttribute(DataType = "nonNegativeInteger")]
    public string type
    {
      get
      {
        return typeField;
      }
      set
      {
        typeField = value;
      }
    }



    #endregion

#if GENERATOR
    protected override bool UpdateContents(NotesNode updatedNode, List<INotesChange> changes)
    {
      throw new NotImplementedException();
    }
#endif
  }
}